Fix problem with NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
authorOwen Taylor <otaylor@redhat.com>
Wed, 17 Mar 2004 21:43:47 +0000 (21:43 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 17 Mar 2004 21:43:47 +0000 (21:43 +0000)
Wed Mar 17 16:38:00 2004  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-draw.c (match_theme_image): Fix problem with
        NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)

modules/engines/pixbuf/ChangeLog
modules/engines/pixbuf/pixbuf-draw.c

index be14da2234121c36da8fa799ae8fbf1a9738d8b1..ca3388340af4fffab12cb81c5b18fec457de7c7a 100644 (file)
@@ -1,3 +1,8 @@
+Wed Mar 17 16:38:00 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * pixbuf-draw.c (match_theme_image): Fix problem with
+       NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
+
 2003-07-15  Mark McLoughlin  <mark@skynet.ie>
 
        * pixbuf-render.c: make pixbuf_cache static to avoid
index 3796816b4bde04b2a8038489c3e3990c572e4faf..5918082bf1264135c263d42dc07be89af2ddf917 100644 (file)
@@ -75,7 +75,7 @@ match_theme_image (GtkStyle       *style,
        continue;
 
       if (image->match_data.detail &&
-         (!image->match_data.detail ||
+         (!match_data.detail ||
           strcmp (match_data->detail, image->match_data.detail) != 0))
       continue;